package com.example.benefitcommunity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.util.Date;
import java.io.Serializable;

/**
 * 闲置交易表(BcIdleTrading)实体类
 *
 * @author makejava
 * @since 2025-08-18 20:43:47
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("bc_idle_trading")
public class BcIdleTrading implements Serializable {
    @Serial
    private static final long serialVersionUID = -36342837719922423L;
    /**
     * 闲置交易id
     */
    private Integer id;
    /**
     * 图片
     */
    private String picture;
    /**
     * 名称
     */
    private String idlename;
    /**
     * 电话
     */
    private String phone;
    /**
     * 价格
     */
    private String price;
    /**
     * 描述
     */
    private String description;
    /**
     * 社区id
     */
    private Integer communityid;
    /**
     * 用户id
     */
    private Integer userid;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;

}

